<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>	
<%@page import="com.yaodian100.mall.member.util.UserData"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<%@page import="org.apache.commons.lang.StringUtils"%>
<%@taglib prefix="pu" uri="/WEB-INF/tld/pageutil.tld" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt-rt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 	
<%@taglib uri="/WEB-INF/tld/importTag.tld" prefix="importTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>打印订单明细．我的订单．我的耀点．耀点100</title>
<style>
.promo-popup{padding:10px;*padding:10px 0 10px 8px; color:#666;line-height:1.4em; }
.promo-popup h2,.promo-popup h3{font-size:15px;color:#d12e6f; margin-bottom:.8em;}
.promo-popup h3{color:#666;}
.promo-popup p{margin:.5em 0;}
.promo-popup .d-line{background:url(/images/link_dote.gif) repeat-x scroll 0 50%; padding:1px 0;}
.promo-popup ol,.promo-popup ul{margin-bottom:1em;margin-left:2em;}
.promo-popup li{list-style:decimal;}
</style>
<link rel="stylesheet" href="/css/jquery-ui-1.7.2.custom.css" type="text/css" media="screen" />		
<script type="text/javascript" charset="UTF-8" src="/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/pageable.js"></script>
<link rel="stylesheet" href="/css/yaodian100_ordercar_v2.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/css/yaodian100_p1_v2.css" type="text/css" media="print" />
<link rel="stylesheet" href="/css/pageable.css" type="text/css" media="screen" />
<c-rt:set var="useCreditcardPeriod" value='<%=ServerValue.getUseCreditcardPeriod()%>'/>
<script type="text/javascript">
	$().ready(function() {			
		$("#go_prev").click(function() {	
			location.href="<%=ServerValue.getFrontContextPath()%>/shopping/paymentInfo/paymentInfoView.do?orderId=${orders.orderId}";
		});
		$("#go_prev2").click(function() {	
			location.href="<%=ServerValue.getFrontContextPath()%>/shopping/paymentInfo/paymentInfoView.do?orderId=${orders.orderId}";
		});		
		$("#postOffice").click(function(){
			openDialog("邮局汇款单范例",$("#divPostOffice").load("/pages/CART/step03_demo_postoffice.html"),600,600);	
			
			
		});
		$("#bank").click(function(){
			openDialog("银行转帐单范例",$("#divBank").load("/pages/CART/step03_demo_bank.html"),700,500);
		});
	});
</script>
</head>
<body>
<div id="container" style="width:600px;">
  <div class="print-btns"><input type="submit" name="button" id="button" value="确认打印" onclick="window.print()"/><input type="submit" name="go_prev2" id="go_prev2" value="回前一页" /></div>
  <div id="header">
    <a href="/"><img src="/images/logo.gif" alt="耀点100"/></a>
  </div>
     <div id="main" class="member-index">
  	<div class="content" style="width:600px;">
      
    <!-- 我的訂單 -->
  <!-- 收到訂單－银行转帐-->
	<c:if test="${orders.paymentTp=='10'}">
		<c:if test="${orders.orderSt=='00'}">
	      			 <div class="step-payment-p">
				        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
						        		<p> 我们的客服人员将尽速透过电话与您联系，向您确认订购内容，请务必保持电话畅通。</p>
						 </div>
			         </div>
	        </c:if>
     	  <c:if test="${orders.orderSt!='00'}">
			      <div class="step-payment-p">
			        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
			         <c-rt:if test="${!empty orders.storeId}">	
			        		<p> 商品预计于我们收到货款后二至四日，送达您所指定的门店。</p>
			        </c-rt:if>  
			        <c-rt:if test="${empty orders.storeId}">	
				         <c:if test="${orders.orderProduct[0].prodTp=='1'}">
				      		 <p> 本商品为预购商品，預計於<fmt:formatDate pattern="yyyy-MM-dd" value="${product.expectShipDate}" />后開始为您发货。</p>
				        </c:if>
				         <c:if test="${orders.orderProduct[0].prodTp ne '1'}">
				        	 <p>我们收到货款后，将尽快为您确认、处理订单。<br/>(到款时间一般为您付款後 3~5 个工作天)</p>
				 		</c:if>
					</c-rt:if>
			        </div>
			        <div class="step-payment-p-form">
			        <table>
			        <tr>
			        <td colspan="2"><img src="/images/step_arrow_icon.gif"><strong class="txt-m"> 您可以至任何一家银行转帐</strong> (<a href="javascript:;" id="bank"> 转帐单范例</a> )</td>
			
			        </tr>
			        <tr>
			        <th>应付金额</th>
			        <td>
			        	<strong class="txt-rd txt-L">${pu:currency(orders.joinMustPay)} 元 </strong><br/>
<c-rt:if test="${orders.orderId eq orders.joinOrders}">
			           <c-rt:if test="${orders.myWallet != 0}">
			           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">${pu:currency(orders.mustPay+orders.myWallet)}</span> 元
			            	－ 我的账户余额支付 <span id="virtualBalance">${pu:currency(orders.myWallet)}</span>元
			            )</span>
			           </c-rt:if></c-rt:if>
			        </td>
			        </tr>
			        <tr>
			        <th>付款期限</th>
			        <td><strong class="txt-L txt-rd"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${orders.deadline}" /> </strong><br/>
			            <span class="txt-gy">请尽早付款，逾期系统将自动取消您的订单。</span>
			        </td>
			        </tr>
<c-rt:if test="${orders.orderId ne orders.joinOrders}">
<c-rt:set var="joinOrders" value="${fn:split(orders.joinOrders, ',')}" />
			        <tr>
			        <th>合并结帐</th>
			        <td><strong class="txt-L txt-rd">
<c-rt:forEach items="${joinOrders}" var="joinOrder" varStatus="status">
<c-rt:if test="${status.index ne 0}">,</c-rt:if>
订单 <a href="/ecmall/member/order/page.do?page=detail&orderId=${joinOrder}">${joinOrder}</a>
</c-rt:forEach><br/> 
            <span class="txt-gy">您结帐的商品被拆成以上订单，将各自出貨。</span></strong>
			        </td>
			        </tr></c-rt:if>
			        <tr>
			        <th>银行汇款单<br/>必填信息</th>
			        <td class="step-payment-re"><ul>
			        <li><strong>‧收款人户名：</strong>六度贸易(上海)有限公司</li>
			        <li><strong>‧汇款帐号：</strong>招商银行上海五角场支行/121908531810501</li>
			        <li><strong>‧附言栏：</strong>请务必注明<strong class="txt-rd">订单编号${orders.orderId}</strong></li>
			
			        </ul>
			        </td>
			        </tr>
			        </table>
			        <p>‧您选择「银行汇款」，我们会在 付款期限内保留您未支付的订单。<br/>
			          ‧您可随时至 "<a href="<%=ServerValue.getFrontContextPath()%>/member/myOrder/showOrders.do?t=T&p=1">最近的订单</a>" 查看订单纪录。<br/>
					  ‧收到您的订单后，将针对订单进行审核，如经审核发现订购异常，或有其他耀点100无法出货给您的情况，如商品缺断货、货到付款超区配送等，将通知您并考虑取消订单，<br/>　届时请予谅解。</p>
			        </div>
			
			      </div>
			</c:if>
    </c:if>
      <!-- 收到訂單-->
      <!-- 收到訂單-货到付款-->
      <c:if test="${orders.paymentTp=='30' || orders.paymentTp=='60'}">
      		<!-- 收到訂單-货到付款-審核中-->
      	  <c:if test="${orders.orderSt=='00'}">
			      <div class="step-payment-p">
			        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
			        <li>我们的客服人员将尽速透过电话与您联系，向您确认货到付款之发货事宜，请务必保持电话畅通。</li>
			        
			        <c:if test="${orders.orderProduct[0].prodTp=='1'}">
				      		 <li> 本商品为预购商品，預計於<fmt:formatDate pattern="yyyy-MM-dd" value="${product.expectShipDate}" />后開始为您发货。</li>
				        </c:if>
				         <c:if test="${orders.orderProduct[0].prodTp ne '1'}">
				        	 
				 		</c:if>	
			         <c:if test="${orders.paymentTp=='30'}">
					       		 <li><strong class="txt-rd">您选择货到付款，请准备好货款，於收货时向送货员支付您的货款。</strong></li> <!-- 货到付款-现金 -->
					        </c:if>
					        <c:if test="${orders.paymentTp=='60'}">
		  						<li><strong class="txt-rd">您选择货到付款，请准备好标有银联标志之银行卡，於货物送达时完成POS机刷卡支付。</strong></li> <!-- 货到付款-刷卡 -->
					        </c:if>
			        
			        </div>
			        <div class="step-payment-p-form">
			        <table>
			        <tr>
			        	<th>应付金额</th>
				        <td>
				        		<strong class="txt-rd txt-L"> ${pu:currency(orders.joinMustPay)} 元 </strong><br/>
<c-rt:if test="${orders.orderId eq orders.joinOrders}">
					           <c-rt:if test="${orders.myWallet != 0}">
					           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">${pu:currency(orders.mustPay+orders.myWallet)}</span> 元
					            	－ 我的账户余额支付 <span id="virtualBalance">${pu:currency(orders.myWallet)}</span>元
					            )</span>
					           </c-rt:if></c-rt:if>
				        </td>
			        </tr>
			        </table>
			        <p>‧您可至 <a href="<%=ServerValue.getFrontContextPath()%>/member/myOrder/showOrders.do?t=T&p=1">最近的订单</a> 查看订单纪录与明细。
        <br>‧收到您的订单后，将针对订单进行审核，如经审核发现订购异常，或有其他耀点100无法出货给您的情况，如商品缺断货、货到付款超区配送等，将通知您并考虑取消订单，届时请予谅解。</p>
			        </div>
			      </div>
	       </c:if>
	        <c:if test="${orders.orderSt=='20'}">
			        <c:if test="${orders.orderSt=='00'}">
			      			 <div class="step-payment-p">
						        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
								        		<p> 我们的客服人员将尽速透过电话与您联系，向您确认订购内容，请务必保持电话畅通。</p>
								 </div>
					         </div>
			        </c:if>
		     	  <c:if test="${orders.orderSt!='00'}">
					      <div class="step-payment-p">
					        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
					        <c:if test="${orders.orderProduct[0].prodTp=='1'}">
						      		 <li> 本商品为预购商品，預計於<fmt:formatDate pattern="yyyy-MM-dd" value="${product.expectShipDate}" />后開始为您发货。</li>
						        </c:if>
						        <c:if test="${orders.orderProduct[0].prodTp ne '1'}">
						 		</c:if>	
					
					        <ul>
					        <li>发货前我们将<strong>以手机简讯通知您预计送达时间</strong>。请务必保持手机畅通，并确定收货地址有人可以收货！</li>
					        <c:if test="${orders.paymentTp=='30'}">
					       		 <li><strong class="txt-rd">您选择货到付款，请准备好货款，於收货时向送货员支付您的货款。</strong></li> <!-- 货到付款-现金 -->
					        </c:if>
					        <c:if test="${orders.paymentTp=='60'}">
		  						<li><strong class="txt-rd">您选择货到付款，请准备好标有银联标志之银行卡，於货物送达时完成POS机刷卡支付。</strong></li> <!-- 货到付款-刷卡 -->
					        </c:if>
					        </ul>
					        </div>
					        <div class="step-payment-p-form">
					        <table>
					
					        <tr>
					        <th>应付金额</th>
						        <td><strong class="txt-rd txt-L"> ${pu:currency(orders.joinMustPay)} 元 </strong><br/>
					           <c-rt:if test="${orders.myWallet != 0}">
					           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">${pu:currency(orders.mustPay+orders.myWallet)}</span> 元
					            	－ 我的账户余额支付 <span id="virtualBalance">${pu:currency(orders.myWallet)}</span>元
					            )</span>
					           </c-rt:if>
						        </td>
					        </tr>
					        </table>
					        <p>‧您可至 <a href="<%=ServerValue.getFrontContextPath()%>/member/myOrder/showOrders.do?t=T&p=1">最近的订单</a> 查看订单纪录与明细。
		        <br>‧收到您的订单后，将针对订单进行审核，如经审核发现订购异常，或有其他耀点100无法出货给您的情况，如商品缺断货、货到付款超区配送等，将通知您并考虑取消订单，届时请予谅解。</p>
					
					        </div>
					      </div>
					</c:if>
	       </c:if>
      </c:if>
      <!-- 收到訂單-->
       <!-- 收到訂單-帳戶餘額-->
      <c:if test="${orders.paymentTp=='40'}">
      <div class="step-payment-p">
        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
         		 <c-rt:if test="${!empty orders.storeId}">	
		        		<p> 商品预计于我们收到货款后二至四日，送达您所指定的门店。</p>
		        </c-rt:if>  
		        <c-rt:if test="${empty orders.storeId}">
         			 <c:if test="${orders.orderProduct[0].prodTp=='1'}">
				      		 <p> 本商品为预购商品，預計於<fmt:formatDate pattern="yyyy-MM-dd" value="${product.expectShipDate}" />后開始为您发货。</p>
				        </c:if>
				        <c:if test="${orders.orderProduct[0].prodTp ne '1'}">
				        	  <p>我们将尽快为您确认、处理订单。<br/>
				 	</c:if>	
 				</c-rt:if> 
          您可至 "<a href="<%=ServerValue.getFrontContextPath()%>/member/myOrder/showOrders.do?t=T&p=1">最近的订单</a>" 查看订单纪录与明细。</p>
</div>
        <div class="step-payment-p-form">
        <p>‧收到您的订单后，将针对订单进行审核，如经审核发现订购异常，或有其他耀点100无法出货给您的情况，如商品缺断货、货到付款超区配送等，将通知您并考虑取消订单，届时请予谅解。</p>
        </div>
      </div>
      </c:if>
      <!-- 收到訂單-->
       <!-- 收到訂單-网上支付-->
       <c:if test="${orders.paymentTp=='50'}">
       <c:if test="${orders.orderSt=='00'}">
	      			 <div class="step-payment-p">
				        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
						        		<p> 我们的客服人员将尽速透过电话与您联系，向您确认订购内容，请务必保持电话畅通。</p>
						 </div>
			         </div>
	        </c:if>
     	  <c:if test="${orders.orderSt!='00'}">
				      <div class="step-payment-p">
				        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
				        	 <c-rt:if test="${!empty orders.storeId}">	
						        		<p> 商品预计于我们收到货款后二至四日，送达您所指定的门店。</p>
						        </c-rt:if>  
						        <c-rt:if test="${empty orders.storeId}">	
							        <c:if test="${orders.orderProduct[0].prodTp=='1'}">
							      		 <p> 本商品为预购商品，預計於<fmt:formatDate pattern="yyyy-MM-dd" value="${product.expectShipDate}" />后開始为您发货。</p>
							        </c:if>
							         <c:if test="${orders.orderProduct[0].prodTp ne '1'}">
							        	<p>我们收到货款后，将尽快为您确认、处理订单。</p>
							 		</c:if>
							 	 </c-rt:if>	
				        </div>
				        <div class="step-payment-p-form">
				        <table>
				        <tr>
				        <th>应付金额</th>
				        	<td><strong class="txt-rd txt-L"> ${pu:currency(orders.joinMustPay)} 元 </strong><br/>
<c-rt:if test="${orders.orderId eq orders.joinOrders}">
				           <c-rt:if test="${orders.myWallet != 0}">
				           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">${pu:currency(orders.mustPay+orders.myWallet)}</span> 元
				            	－ 我的账户余额支付 <span id="virtualBalance">${pu:currency(orders.myWallet)}</span>元
				            )</span>
				           </c-rt:if></c-rt:if>
							    </td>
				        </tr>
				        <tr>
				        <th>付款期限</th>
				        <td><strong class="txt-L txt-rd"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${orders.deadline}" /></strong><br/>
				            <span class="txt-gy">请尽早付款，逾期系统将自动取消您的订单。</span>
				        </td>
				        </tr>
<c-rt:if test="${orders.orderId ne orders.joinOrders}">
<c-rt:set var="joinOrders" value="${fn:split(orders.joinOrders, ',')}" />
			        <tr>
			        <th>合并结帐</th>
			        <td><strong class="txt-L txt-rd">
<c-rt:forEach items="${joinOrders}" var="joinOrder" varStatus="status">
<c-rt:if test="${status.index ne 0}">,</c-rt:if>
订单 <a href="/ecmall/member/order/page.do?page=detail&orderId=${joinOrder}">${joinOrder}</a>
</c-rt:forEach><br/> 
            <span class="txt-gy">您结帐的商品被拆成以上订单，将各自出貨。</span></strong>
			        </td>
			        </tr></c-rt:if>
				        </table>
				        <p>‧您选择「網上支付」，我们会在<b class="txt-rd">付款期限内</b>保留您未支付的订单，逾期将取消。<br>
				          ‧您可随时至 "<a href="<%=ServerValue.getFrontContextPath()%>/member/myOrder/showOrders.do?t=T&p=1">最近的订单</a>" 查看订单纪录。<br>
						   ‧收到您的订单后，将针对订单进行审核，如经审核发现订购异常，或有其他耀点100无法出货给您的情况，如商品缺断货、货到付款超区配送等，将通知您并考虑取消订单，届时请予谅解。
				          </p>        
				        <table>
				        <tr>
				        <td>
				        <div class="bank-arrow-p"> 请任选一家立即付款：</div>
				         <c-rt:choose>
						      <c-rt:when test="${member.applySource eq 'taobaomember'}">
				    			<div class="bank-head">第三方支付平台：</div><a href="${frontContextPath}/payment/alipay.do?orderId=${orders.orderId}&paymentType=direct" class="btn-bank-p"><img src="/images/bank/third01.gif" width="100" height="30"></a>
						      </c-rt:when>
						      <c-rt:when test="${member.applySource eq 'alipaymember'}">
								      <div class="bank-head">支持银行：</div>
										 <c:forEach items="${bankCodeMenu.options}" var="bcm" varStatus="m">
											 <a href="${frontContextPath}${paymentSrcMenu.options[bcm.value.memo1].memo1}${orders.paymentTxnId}&bankCode=${bcm.key}" class="btn-bank-p" alt="${bcm.value.name}"><img src="/images/bank/${bcm.key}.gif" width="100" height="30"></a>
										 </c:forEach>
									<div class="bank-head">第三方支付平台：</div><a href="${frontContextPath}/payment/alipay.do?orderId=${orders.orderId}&paymentType=direct" class="btn-bank-p"><img src="/images/bank/third01.gif" width="100" height="30"></a>				    		
						      </c-rt:when>
					      <c-rt:otherwise>
					      			<div class="bank-head">支持银行：</div>
							 <c:forEach items="${bankCodeMenu.options}" var="bcm" varStatus="m">
								 <a href="${frontContextPath}${paymentSrcMenu.options[bcm.value.memo1].memo1}${orders.paymentTxnId}&bankCode=${bcm.key}" class="btn-bank-p" alt="${bcm.value.name}"><img src="/images/bank/${bcm.key}.gif" width="100" height="30"></a>
							 </c:forEach>
					        <div class="bank-head">第三方支付平台：</div><a href="${frontContextPath}/payment/alipay.do?orderId=${orders.paymentTxnId}&paymentType=direct" class="btn-bank-p"><img src="/images/bank/third01.gif" width="100" height="30"></a><a href="${frontContextPath}/payment/quickmoney.do?orderId=${orders.paymentTxnId}" class="btn-bank-p"><img src="/images/bank/third02.gif" width="100" height="30"></a><a href="${frontContextPath}/payment/tenpay.do?orderId=${orders.paymentTxnId}" class="btn-bank-p"><img src="/images/bank/third03.gif" width="100" height="30"></a><a href="${frontContextPath}/payment/chinapay.do?orderId=${orders.paymentTxnId}" class="btn-bank-p"><img src="/images/bank/third04.gif" width="100" height="30"></a>
					      </c-rt:otherwise>
						</c-rt:choose>
				        </td>
				        </tr>
				        </table>
				        </div>
				      </div>
			</c:if>
      </c:if>
      <!-- 收到訂單-->
       <!-- 收到訂單-信用卡单期-->
       <c:if test="${orders.paymentTp=='70'}">
       <c:if test="${orders.orderSt=='00'}">
	      			 <div class="step-payment-p">
				        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
						        		<p> 我们的客服人员将尽速透过电话与您联系，向您确认订购内容，请务必保持电话畅通。</p>
						 </div>
			         </div>
	        </c:if>
     	  <c:if test="${orders.orderSt!='00'}">
				      <div class="step-payment-p">
				        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
				        	 <c-rt:if test="${!empty orders.storeId}">	
						        		<p> 商品预计于我们收到货款后二至四日，送达您所指定的门店。</p>
						        </c-rt:if>  
						        <c-rt:if test="${empty orders.storeId}">	
							        <c:if test="${orders.orderProduct[0].prodTp=='1'}">
							      		 <p> 本商品为预购商品，預計於<fmt:formatDate pattern="yyyy-MM-dd" value="${product.expectShipDate}" />后開始为您发货。</p>
							        </c:if>
							         <c:if test="${orders.orderProduct[0].prodTp ne '1'}">
							        	<p>我们收到货款后，将尽快为您确认、处理订单。</p>
							 		</c:if>
							 	 </c-rt:if>	
				        </div>
				        <div class="step-payment-p-form">
				        <table>
				        <tr>
				        <th>应付金额</th>
				        	<td><strong class="txt-rd txt-L"> ${pu:currency(orders.joinMustPay)} 元 </strong><br/>
<c-rt:if test="${orders.orderId eq orders.joinOrders}">
				           <c-rt:if test="${orders.myWallet != 0}">
				           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">${pu:currency(orders.mustPay+orders.myWallet)}</span> 元
				            	－ 我的账户余额支付 <span id="virtualBalance">${pu:currency(orders.myWallet)}</span>元
				            )</span>
				           </c-rt:if></c-rt:if>
							    </td>
				        </tr>
				        <tr>
				        <th>付款期限</th>
				        <td><strong class="txt-L txt-rd"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${orders.deadline}" /></strong><br/>
				            <span class="txt-gy">请尽早付款，逾期系统将自动取消您的订单。</span>
				        </td>
				        </tr>
<c-rt:if test="${orders.orderId ne orders.joinOrders}">
<c-rt:set var="joinOrders" value="${fn:split(orders.joinOrders, ',')}" />
			        <tr>
			        <th>合并结帐</th>
			        <td><strong class="txt-L txt-rd">
<c-rt:forEach items="${joinOrders}" var="joinOrder" varStatus="status">
<c-rt:if test="${status.index ne 0}">,</c-rt:if>
订单 <a href="/ecmall/member/order/page.do?page=detail&orderId=${joinOrder}">${joinOrder}</a>
</c-rt:forEach><br/> 
            <span class="txt-gy">您结帐的商品被拆成以上订单，将各自出貨。</span></strong>
			        </td>
			        </tr></c-rt:if>
				        </table>
				        <p>‧您选择「信用卡单期支付」，我们会在<b class="txt-rd">24小时内</b>保留您未支付的订单，逾期将取消。<br>
				          ‧您可随时至 "<a href="<%=ServerValue.getFrontContextPath()%>/member/myOrder/showOrders.do?t=T&p=1">最近的订单</a>" 查看订单纪录。<br>
						   ‧收到您的订单后，将针对订单进行审核，如经审核发现订购异常，或有其他耀点100无法出货给您的情况，如商品缺断货、货到付款超区配送等，将通知您并考虑取消订单，届时请予谅解。
				          </p>        
				        <table>
				        <tr>
				        <td>
				        <div class="bank-arrow-p"> 请任选一家立即付款：</div>
 									<c-rt:forEach items="${billBankSingleCodeMenu.options}" var="bankCode">
     			    			<a href="/ecmall/payment/quickmoneyCC.do?orderId=${orders.orderId}&period=1" class="btn-bank-p"><img src="/images/bank/${bankCode.key}.gif"/></a>
     			    		</c-rt:forEach>
				        </td>
				        </tr>
				        </table>
				        </div>
				      </div>
			</c:if>
      </c:if>
      <!-- 收到訂單-->
       <!-- 收到訂單-信用卡分期-->
       <c:if test="${orders.paymentTp=='80'}">
       <c:if test="${orders.orderSt=='00'}">
	      			 <div class="step-payment-p">
				        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
						        		<p> 我们的客服人员将尽速透过电话与您联系，向您确认订购内容，请务必保持电话畅通。</p>
						 </div>
			         </div>
	        </c:if>
     	  <c:if test="${orders.orderSt!='00'}">
				      <div class="step-payment-p">
				        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
				        	 <c-rt:if test="${!empty orders.storeId}">	
						        		<p> 商品预计于我们收到货款后二至四日，送达您所指定的门店。</p>
						        </c-rt:if>  
						        <c-rt:if test="${empty orders.storeId}">	
							        <c:if test="${orders.orderProduct[0].prodTp=='1'}">
							      		 <p> 本商品为预购商品，預計於<fmt:formatDate pattern="yyyy-MM-dd" value="${product.expectShipDate}" />后開始为您发货。</p>
							        </c:if>
							         <c:if test="${orders.orderProduct[0].prodTp ne '1'}">
							        	<p>我们收到货款后，将尽快为您确认、处理订单。</p>
							 		</c:if>
							 	 </c-rt:if>	
				        </div>
				        <div class="step-payment-p-form">
				        <table>
				        <tr>
				        <th>应付金额</th>
				        	<td><strong class="txt-rd txt-L"> ${pu:currency(orders.joinMustPay)} 元 </strong><span class="txt-rd"><strong>(每期约<fmt-rt:formatNumber value="${(orders.joinMustPay/orders.orderCreditCardCampaign.creditcartPeriod)+0.5}"  pattern="#,###,##0" maxFractionDigits="0"/>元)</strong></span><br/>
<c-rt:if test="${orders.orderId eq orders.joinOrders}">
				           <c-rt:if test="${orders.myWallet != 0}">
				           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">${pu:currency(orders.mustPay+orders.myWallet)}</span> 元
				            	－ 我的账户余额支付 <span id="virtualBalance">${pu:currency(orders.myWallet)}</span>元
				            )</span>
				           </c-rt:if></c-rt:if>
							    </td>
				        </tr>
				        <tr>
				        <th>付款期限</th>
				        <td><strong class="txt-L txt-rd"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${orders.deadline}" /></strong><br/>
				            <span class="txt-gy">请尽早付款，逾期系统将自动取消您的订单。</span>
				        </td>
				        </tr>
<c-rt:if test="${orders.orderId ne orders.joinOrders}">
<c-rt:set var="joinOrders" value="${fn:split(orders.joinOrders, ',')}" />
			        <tr>
			        <th>合并结帐</th>
			        <td><strong class="txt-L txt-rd">
<c-rt:forEach items="${joinOrders}" var="joinOrder" varStatus="status">
<c-rt:if test="${status.index ne 0}">,</c-rt:if>
订单 <a href="/ecmall/member/order/page.do?page=detail&orderId=${joinOrder}">${joinOrder}</a>
</c-rt:forEach><br/> 
            <span class="txt-gy">您结帐的商品被拆成以上订单，将各自出貨。</span></strong>
			        </td>
			        </tr></c-rt:if>
				        </table>
				        <p>‧您选择「信用卡分期支付」，我们会在<b class="txt-rd">24小时内</b>保留您未支付的订单，逾期将取消。<br>
				          ‧您可随时至 "<a href="<%=ServerValue.getFrontContextPath()%>/member/myOrder/showOrders.do?t=T&p=1">最近的订单</a>" 查看订单纪录。<br>
						   ‧收到您的订单后，将针对订单进行审核，如经审核发现订购异常，或有其他耀点100无法出货给您的情况，如商品缺断货、货到付款超区配送等，将通知您并考虑取消订单，届时请予谅解。
				          </p>        
				        <table>
				        <tr>
				        <td>
				        <div class="bank-arrow-p"> 请任选一家立即付款：</div>
					        <c-rt:forEach items="${creditcard.cardDetails}" var="cardDetail">
	    							<c-rt:choose>
		    							<c-rt:when test="${cardDetail.setting.creditcardName eq '快钱'}">
	    									<c-rt:forEach items="${billBankCodeMenu.options}" var="bankCode">
	        			    			<a href="/ecmall/payment/quickmoneyCC.do?orderId=${orders.orderId}&period=${orders.orderCreditCardCampaign.creditcartPeriod}" class="btn-bank-p"><img src="/images/bank/${bankCode.key}.gif"/></a>
	        			    		</c-rt:forEach>
	        			    	</c-rt:when>
	         			    	<c-rt:otherwise>
	         			    		<a href="/ecmall/payment/quickmoneyCC.do?orderId=${orders.orderId}&period=${orders.orderCreditCardCampaign.creditcartPeriod}" class="btn-bank-p"><img src="/images/bank/${cardDetail.setting.id}.gif"/></a>
	         			    	</c-rt:otherwise>
	         			    </c-rt:choose>
	           			</c-rt:forEach>
				        </td>
				        </tr>
				        </table>
				        </div>
				      </div>
			</c:if>
      </c:if>            
      <!-- 收到訂單-->
      <!-- 收到訂單-邮局汇款-->
      <c:if test="${orders.paymentTp=='20'}">
       <c:if test="${orders.orderSt=='00'}">
	      			 <div class="step-payment-p">
				        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
						        		<p> 我们的客服人员将尽速透过电话与您联系，向您确认订购内容，请务必保持电话畅通。</p>
						 </div>
			         </div>
	        </c:if>
     	  <c:if test="${orders.orderSt!='00'}">
			      <div class="step-payment-p">
			        <div class="step-payment-p-msg">恭喜，您的订单已经提交！
			         <c-rt:if test="${!empty orders.storeId}">	
					        		<p> 商品预计于我们收到货款后二至四日，送达您所指定的门店。</p>
					        </c-rt:if>  
					        <c-rt:if test="${empty orders.storeId}">
						         <c:if test="${orders.orderProduct[0].prodTp=='1'}">
						      		 <p> 本商品为预购商品，預計於<fmt:formatDate pattern="yyyy-MM-dd" value="${product.expectShipDate}" />后開始为您发货。</p>
						        </c:if>
						         <c:if test="${orders.orderProduct[0].prodTp ne '1'}">
						        	 <p>我们收到货款后，将尽快为您确认、处理订单。<br/>(到款时间一般为您付款後 3~5 个工作天)</p>
						 		</c:if>
						 	 </c-rt:if>  
			        </div>
			        <div class="step-payment-p-form">
			        <table>
			        <tr>
			        <td colspan="2"><img src="/images/step_arrow_icon.gif"><strong class="txt-m"> 请及早至邮局汇款</strong> (<a href="#" id="postOffice"> 汇款单范例</a> )</td>
			
			        </tr>
			        <tr>
			        <th>应付金额</th>
			        <td><strong class="txt-rd txt-L"> ${pu:currency(orders.joinMustPay)} 元 </strong><br/>
<c-rt:if test="${orders.orderId eq orders.joinOrders}">
			           <c-rt:if test="${orders.myWallet != 0}">
			           	<span class="txt-gy">(＝ 订单金额 <span id="mustPay">${pu:currency(orders.mustPay+orders.myWallet)}</span> 元
			            	－ 我的账户余额支付 <span id="virtualBalance">${pu:currency(orders.myWallet)}</span>元
			            )</span>
			           </c-rt:if></c-rt:if>
			        </td>
			        </tr>
			
			        <tr>
			        <th>付款期限</th>
			        <td><strong class="txt-L txt-rd"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${orders.deadline}" /></strong><br/>
			            <span class="txt-gy">请尽早付款，逾期系统将自动取消您的订单。</span>
			        </td>
			        </tr>
<c-rt:if test="${orders.orderId ne orders.joinOrders}">
<c-rt:set var="joinOrders" value="${fn:split(orders.joinOrders, ',')}" />
			        <tr>
			        <th>合并结帐</th>
			        <td><strong class="txt-L txt-rd">
<c-rt:forEach items="${joinOrders}" var="joinOrder" varStatus="status">
<c-rt:if test="${status.index ne 0}">,</c-rt:if>
订单 <a href="/ecmall/member/order/page.do?page=detail&orderId=${joinOrder}">${joinOrder}</a>
</c-rt:forEach><br/> 
            <span class="txt-gy">您结帐的商品被拆成以上订单，将各自出貨。</span></strong>
			        </td>
			        </tr></c-rt:if>
			        <tr>
			        <th>邮局汇款单<br/>必填信息</th>
			        <td class="step-payment-re"><ul>
			        <li><strong>‧汇款种类：</strong>请勾选「商务付款」</li>
			        <li><strong>‧商户客户号：</strong>请填写 312221025</li>
			        <li><strong>‧附言栏：</strong>请务必注明<strong class="txt-rd">订单编号${orders.orderId}</strong></li>
			        </ul>
			        </td>
			        </tr>
			        </table>
			        <p>‧您选择「邮局汇款」，我们会在 付款期限内保留您未支付的订单。<br>
			          ‧您可随时是 "<a href="<%=ServerValue.getFrontContextPath()%>/member/myOrder/showOrders.do?t=T&p=1">最近的订单</a>" 查看订单纪录。<br>
			          ‧收到您的订单后，将针对订单进行审核，如经审核发现订购异常，或有其他耀点100无法出货<br>　给您的情况，如商品缺断货、货到付款超区配送等，将通知您并考虑取消订单，届时请予谅解。
			</p>
			        </div>
			
			      </div>
		</c:if>
      </c:if>
       <c-rt:if test="${!empty orders.storeId}">	   
       		<div class="step-payment-p">  
				<div class="atstore-end">
		          <p ><strong>达芙妮门店取货注意事项：</strong></p>
		          <p >• 到货时，系统将以email及短信通知您取货时间。<br>
		            • 请于到货后<span class="txt-rd">7天</span>内至门店取货。<br>
		            • 取货时，必须由<span class="txt-rd">收货本人出示有效证件</span>或<span class="txt-rd">手机取货短信</span>，方可领货。<br>
		
		          • 逾期未领货，系统将自动取消您的订单，提醒您尽早取货。</p>
		        </div>
	         </div>
		</c-rt:if>
      <!-- 收到訂單-->
<c-rt:if test="${orders.orderId eq orders.joinOrders}">
  <!-- 訂單明細 -->
    <h3>订单编号：${orders.orderId}</h3>
		<div class="od-detail d-show"> 
	    <table class="tb-2" style="width: 600px;"> 
	        <thead> 
	          <tr> 
	            <th width="200">商品名称</th>
	            <th width="50">类型</th>
	            <th style="width:100px; *width:144px;">属性</th>
	            <th width="70">单价</th>
	            <th width="50">数量</th>
	            <th width="65">小计</th>
	          </tr> 
	        </thead> 
	        <tbody> 
	        <c-rt:forEach items="${orders.orderProduct }" var="op" varStatus="opStatus">
						<c-rt:if test="${op.prodTp=='6'}">
	          	<tr>
	            	<td colspan="5" align="left" class="table-in">
	            		<table border="0">
	                	<tr>
		                  <td width="200"><p>${op.prodName}</p>
		                  <c-rt:forEach items="${op.applyCampaigns}" var="ac" varStatus="status2">
	          	
	          	<p>
	          	<c-rt:if test="${ac.active}">
	          		<span class="type-4">优惠</span>
	          	</c-rt:if>
	          	<c-rt:if test="${!ac.active}">
	          		<span class="type-6">优惠</span>（不符合）
	          	</c-rt:if>

	          	
	          	${pu:reqSet('pc', pu:get('com.yaodian100.ec.campaign.entity.Campaign', ac.campaignUuid)) }
	          	
	          	<a class="btn-promo" href="javascript:openCampaign_${opStatus.index }_${status2.index }()">${pc.campaignName } </a>
	          
				<script>
				<c-rt:set scope="request" var="campaignDetail">
            	${pu:replaceAll(pc.campaignDetail, '\'', '&#39;')}
            	</c-rt:set>
            	<c-rt:set scope="request" var="campaignDesc">
            	${pu:replaceAll(pc.campaignDesc, '\'', '&#39;')}
            	</c-rt:set>
					function openCampaign_${opStatus.index }_${status2.index }(){
						var dialogId='dialog';
						<%
						String campaignDetail=(String)request.getAttribute("campaignDetail");
						String campaignDesc=(String)request.getAttribute("campaignDesc");
						campaignDetail=campaignDetail.replaceAll("\r\n", "").replaceAll("\r", "").replaceAll("\n", "");
						campaignDesc=campaignDesc.replaceAll("\r\n", "").replaceAll("\r", "").replaceAll("\n", "");
						request.setAttribute("campaignDetail", campaignDetail);
						request.setAttribute("campaignDesc", campaignDesc);
						%>
						title='活动信息';
						campaignTitle='${pu:replaceAll(pc.campaignName, '\'', '&#39;')}';
						desc= '${campaignDesc}';
						detail='${campaignDetail}';
						startDate= '<fmt-rt:formatDate value="${pc.startDateTime}" pattern="yyyy/MM/dd HH:mm:ss"/>';
						endDate= '<fmt-rt:formatDate value="${pc.endDateTime}" pattern="yyyy/MM/dd HH:mm:ss"/>';
						url= '${pc.campaignUrl}';
						width= 300;
						height= 'auto';

						var content=compositeCampaign(campaignTitle, desc, detail, startDate, endDate, url);
						openDialog(title, content,width,height);
						$( '#'+dialogId).dialog('option', 'position', 'top' );
					}
				</script>

	          	</p>
	          	</c-rt:forEach>
		                  </td>
		                  <td width="50"><span class="type-0">主商品</span></td>
		                  <td style="width:100px; *width:144px;">&nbsp;</td>
		                  <td width="70" class="txt-price">￥ ${pu:rmb(op.unitPrice)}</td>
		                  <td width="50">1</td>
		                </tr>
		                <c-rt:forEach items="${op.orderProductDetail}" var="opd">
		                	<c-rt:if test="${opd.detailTp == '6' and opd.prodId ne op.prodId}">
			                	<tr>
				                  <td width="200" class="txt-gy"><p>${opd.prodName}</p></td>
				                  <td width="50"><span class="type-4">活动</span></td>
				                  <td width="70" class="txt-gy">${opd.prodSpecName}</td>
				                  <td width="85">&nbsp;</td>
				                  <td width="50" class="txt-gy">${opd.qty}</td>
			                	</tr>
		                	</c-rt:if>
	                	</c-rt:forEach>
	                </table>
		            </td>
	            	<td align="left" class="txt-price">￥ ${pu:rmb(op.totalPrice)}</td>
	          	</tr>
          	</c-rt:if>
          	<c-rt:if test="${op.prodTp=='2'}">
	          	<tr>
	            	<td colspan="5" align="left" class="table-in">
	            		<table border="0">
	                	<tr>
		                  <td width="200"><p>${op.prodName}</p></td>
		                  <td width="50"><span class="type-2">赠品</span></td>
		                  <td style="width:100px; *width:144px;">${op.prodSpecName }</td>
		                  <td width="70" class="txt-price">￥ ${pu:rmb(op.unitPrice)}</td>
		                  <td width="50">1</td>
		                </tr>
		                
	                </table>
		            </td>
	            	<td align="left" class="txt-price">￥ ${pu:rmb(op.totalPrice)}</td>
	          	</tr>
          	</c-rt:if>         
						<c-rt:if test="${op.prodTp=='5'}">
	          	<tr>
	            	<td colspan="5" align="left" class="table-in">
	            		<table border="0">
	                	<tr>
		                  <td width="200"><p>${op.prodName}</p></td>
		                  <td width="50"><span class="type-5">满额购</span></td>
		                  <td style="width:100px; *width:144px;">${op.prodSpecName}</td>
		                  <td width="70" class="txt-price">￥ ${pu:rmb(op.unitPrice)}</td>
		                  <td width="50">1</td>
		                </tr>
		                <c-rt:forEach items="${op.orderProductDetail}" var="opd">
		                	<c-rt:if test="${opd.detailTp == '6'}">
			                	<tr>
				                  <td class="txt-gy"><p>${opd.prodName}</p></td>
				                  <td><span class="type-4">活动</span></td>
				                  <td style="width:100px; *width:144px;" class="txt-gy">${opd.prodSpecName}</td>
				                  <td>&nbsp;</td>
				                  <td class="txt-gy">1</td>
			                	</tr>
		                	</c-rt:if>
	                	</c-rt:forEach>
	                </table>
		            </td>
	            	<td align="left" class="txt-price">￥ ${pu:rmb(op.totalPrice)}</td>
	          	</tr>
          	</c-rt:if>          	
          	<c-rt:if test="${op.prodTp=='0' or op.prodTp=='1' or op.prodTp=='7' }">
	          	<tr>
		            <td colspan="5" align="left" class="table-in">
		            	<c-rt:forEach items="${op.orderProductDetail}" var="opd" varStatus="status1">
				            <table border="0">
				            	<c-rt:if test="${opd.detailTp == '0' or opd.detailTp == '1' or opd.detailTp == '7'}">
				                <tr>
				                  <td width="200"><p>${opd.prodName}</p></td>
				                  <td width="50">
				                  	<c-rt:if test="${op.prodTp == '0' || op.prodTp == '7'}">
				                  		<c-rt:if test="${op.prodTp == '0' || op.prodTp == '7'}">
						                  		<span class="type-0">主商品</span>
						                  	</c-rt:if>	
				                  	</c-rt:if>
				                  	<c-rt:if test="${op.prodTp == '1'}">
				                  		<span class="type-1">预购</span>
				                  	</c-rt:if>
				                  </td>
				                  <td style="width:100px; *width:144px;">${opd.prodSpecName}</td>
				                  <td width="70" class="txt-price">￥ ${pu:rmb(opd.unitPrice)}</td>
				                  <td width="50">${opd.qty}</td>
				                </tr>
				               </c-rt:if>
				               <c-rt:if test="${opd.detailTp == '2'}">
					             	<tr>
				                  <td width="200" class="txt-gy"><p>${opd.prodName}</p></td>
				                  <td width="50"><span class="type-2">赠品</span></td>
				                  <td style="width:100px; *width:144px;" class="txt-gy">&nbsp;</td>
				                  <td width="70" class="txt-price">&nbsp;</td>
				                  <td width="50" class="txt-gy">${opd.qty}</td>
				               	</tr>
				               </c-rt:if>
				               <c-rt:if test="${opd.detailTp == '3'}">
				               	<tr>
				                  <td width="200" class="txt-gy"><p>${opd.prodName}</p></td>
				                  <td width="50"><span class="type-3">加购</span></td>
				                  <td style="width:100px; *width:144px;" class="txt-gy">${opd.prodSpecName}</td>
				                  <td width="70" class="txt-price">￥ ${pu:rmb(opd.unitPrice)}</td>
				                  <td width="50" class="txt-gy">${opd.qty}</td>
			                 	</tr>
				               </c-rt:if>
				            </table>
				<c-rt:if test="${opd.detailTp ne '2' && opd.detailTp ne '3'}">
				<c-rt:forEach items="${op.applyCampaigns}" var="ac" varStatus="status2">
	          	
	          	<p>
	          	<c-rt:if test="${ac.active}">
	          		<span class="type-4">优惠</span>
	          	</c-rt:if>
	          	<c-rt:if test="${!ac.active}">
	          		<span class="type-6">优惠</span>（不符合）
	          	</c-rt:if>

	          	
	          	${pu:reqSet('pc', pu:get('com.yaodian100.ec.campaign.entity.Campaign', ac.campaignUuid)) }
	          	
	          	<a class="btn-promo" href="javascript:openCampaign_${status1.index }_${status2.index }()">${pc.campaignName } </a>
	          
				<script>
				<c-rt:set scope="request" var="campaignDetail">
            	${pu:replaceAll(pc.campaignDetail, '\'', '&#39;')}
            	</c-rt:set>
            	<c-rt:set scope="request" var="campaignDesc">
            	${pu:replaceAll(pc.campaignDesc, '\'', '&#39;')}
            	</c-rt:set>
					function openCampaign_${status1.index }_${status2.index }(){
						var dialogId='dialog';
						<%
						String campaignDetail=(String)request.getAttribute("campaignDetail");
						String campaignDesc=(String)request.getAttribute("campaignDesc");
						campaignDetail=campaignDetail.replaceAll("\r\n", "").replaceAll("\r", "").replaceAll("\n", "");
						campaignDesc=campaignDesc.replaceAll("\r\n", "").replaceAll("\r", "").replaceAll("\n", "");
						request.setAttribute("campaignDetail", campaignDetail);
						request.setAttribute("campaignDesc", campaignDesc);
						%>
						title='活动信息';
						campaignTitle='${pu:replaceAll(pc.campaignName, '\'', '&#39;')}';
						desc= '${campaignDesc}';
						detail='${campaignDetail}';
						startDate= '<fmt-rt:formatDate value="${pc.startDateTime}" pattern="yyyy/MM/dd HH:mm:ss"/>';
						endDate= '<fmt-rt:formatDate value="${pc.endDateTime}" pattern="yyyy/MM/dd HH:mm:ss"/>';
						url= '${pc.campaignUrl}';
						width= 300;
						height= 'auto';

						var content=compositeCampaign(campaignTitle, desc, detail, startDate, endDate, url);
						openDialog(title, content,width,height);
						$( '#'+dialogId).dialog('option', 'position', 'top' );
					}
				</script>

	          	</p>
	          	</c-rt:forEach>
	          	</c-rt:if>
	          	
			            </c-rt:forEach>
			          </td>
			          <td align="left" class="txt-price">￥ ${pu:rmb(op.totalPrice)}</td>
			        </tr>
				     </c-rt:if>
				   </c-rt:forEach>
	        </tbody> 
	      </table> 
	     	<p class="total">本次订购共 <strong class="txt-rd">${orders.productSum}</strong> 项商品，商品总额：<span class="txt-bk">￥<input type="text" value="${pu:rmb(orders.totalPrice) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	     	<p class="total">折抵优惠：<span>￥<input type="text" value="- ${pu:rmb(orders.discount) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	     	<div class="total-line">
	     		<p class="total"><strong>合计金额</strong>：<span>￥<input type="text" value="${pu:rmb(order.amount) }" class="show-money txt-bk" readonly="readonly">元</span></p>
		      <p class="total">运费：<span>￥<input type="text" value="+ ${pu:rmb(orders.shipfare) }" class="show-money txt-bk" readonly="readonly">元</span></p>
		      <p class="total">货到付款手续费：<span>￥<input type="text" value="+ ${pu:rmb(orders.codFee)}" class="show-money txt-bk" readonly="readonly">元</span></p>
		      <p class="total">抵扣礼券：<span>￥<input type="text" value="- ${pu:rmb(orders.coupon) }" class="show-money txt-bk" readonly="readonly">元</span></p>
		      <p class="total">折抵 <strong class="txt-rd"><c-rt:if test=  "${not empty order.orderBonusCampaign}">${order.bonus * order.orderBonusCampaign.offsetRate}</c-rt:if><c-rt:if test = "${empty order.orderBonusCampaign}">0</c-rt:if></strong> 积分：<span>￥<input type="text" value="- ${pu:rmb(orders.bonus) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	      </div>
	      <div class="total-line"> 
	      	<p class="total"><strong>订单金额：</strong><span>￥<input type="text" value="${pu:rmb(orders.totalPrice - orders.bonus - orders.coupon + orders.shipfare - orders.discount+orders.codFee) }" class="show-money txt-bk" readonly="readonly">元</span></p> 
	      	<p class="total">账户余额支付： <span>￥<input type="text" value="- ${pu:rmb(orders.myWallet) }" class="show-money txt-bk" readonly="readonly">元</span></p>
	      	<c-rt:if test="${'on' eq useCreditcardPeriod and orders.installmentFee ge 0 }">
	      		<p class="total">＋分期附加费：<span>￥<input type="text" value="+ ${pu:rmb(orders.installmentFee) }" class="show-money txt-bk" readonly="readonly" >元</span></p>
	      	</c-rt:if>	      
	      </div>
	      <div class="total-line"> 
	      	<p class="total txt-m"><strong>剩余应付金额：</strong><strong class="txt-rd">￥<input type="text" value="${pu:rmb(orders.mustPay) }" class="show-money txt-L" readonly="readonly">元</strong></p>
	      </div>
	      <c-rt:if test="${orders.paymentTp=='80'}">
	      	<p class="total txt-m"><span class="txt-rd"><strong>(每期约<fmt-rt:formatNumber value="${(orders.mustPay/orders.orderCreditCardCampaign.creditcartPeriod)+0.5}"  pattern="#,###,##0" maxFractionDigits="0"/>元)</strong></span></p>
	      </c-rt:if>	       
	 		</div> 
</c-rt:if>
    <!-- 收件人 -->
    <h3>收货人信息</h3>
    <div class="pay-dateline">
      <ul>
	      <li class="w-1of1 pad-2">
	      	<div> <label for="name"> 姓    名：</label></div>
	      	<div>${orders.receiverName}</div>
	      </li>
	      <li class="w-1of1 pad-2">
	      	<div><label for="add"> 地    址：</label></div>        
	      	 <c-rt:if test="${empty orders.storeId}">	     
	      	<div>${orders.receiverProvince }，${orders.receiverCity }，${orders.receiverArea }${orders.receiverAddr }，${orders.receiverZip }</div>
	      	</c-rt:if>
	      	 <c-rt:if test="${!empty orders.storeId}">	     
	      	<div>${orders.receiverCity }，${orders.receiverArea }，${orders.receiverAddr }</div>
	      	</c-rt:if>
	      </li>
	      <li class="w-1of1 pad-2">
	      	<div><label for="tel" class="fix">电    话：固定：</label></div>
	      	<div><c-rt:if test="${!empty orders.receiverPhoneArea }">${orders.receiverPhoneArea }-</c-rt:if>${orders.receiverPhone } <c-rt:if test="${!empty orders.receiverExt}">分机：${orders.receiverExt}</c-rt:if>
	      	<strong>&nbsp;&nbsp;手机：</strong>${orders.receiverMobile}
	      </div>
	      </li>
	        <c-rt:if test="${member.applySource eq 'nonmember'}">
	      <li class="w-1of1"><label>联络邮箱：</label>${orders.receiverEmail}</li>
	      </c-rt:if>
      </ul>
       </div>
       <div class="print-btns"><input type="submit" name="button" id="button" value="确认打印" onclick="window.print()"/><input type="submit" name="go_prev" id="go_prev" value="回前一页" /></div>
   
   <!-- 我的訂單 -->
  </div>
  </div>
	<div id="footer">
		<importTag:static path="${frontHtmlPath}${hostName}/pages/footer/footer_text.html"/>
	</div>
 <a href="#ex"/>
<div id="dialog"></div>
<div id="divPostOffice"></div> 
<div id="divBank"></div> 

</body>
</html>




